﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace VehicleMaintenance.Models
{
	public class CarType
	{
		[Key]
		public int CarTypeID { get; set; }

		[Display(Name = "车型")]
        [Required(ErrorMessage = "车型名称不能为空")]
		public string Name { get; set; }

		public List<CarInfo> CarInfo { get; set; }

        public List<Goods> Goods { get; set; }
	}
}
